package com.upcode.weighing.vo.req.pc;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

public class CardReissueAddVo implements Serializable {

    @NotNull(message = "新天山行编号不可为空")
    private String 	id;

    @NotNull(message = "旧天山行编号不可为空")
    private String 	oldId;

    @NotNull(message = "开卡渠道编号不可为空")
    private String 	channelId;

    @NotNull(message = "客服合作机构编号不可为空")
    private String 	agencyId;

    @NotNull(message = "卡类型不可为空")
    private Integer cardType;

    @NotNull(message = "卡品牌不可为空")
    private Integer brand;

    //卡型号
    private String 	model;

    @NotNull(message = "开卡方式不可为空")
    private Integer issuedType;

    @NotNull(message = "补卡成本不可为空")
    private double 	cardCostFareYuan;

    @NotNull(message = "收货人不可为空")
    private String contactPersonName;

    @NotNull(message = "收货电话不可为空")
    private String contactTel;

    @NotNull(message = "收货地址不可为空")
    private String contactAddr;




   /* @NotNull(message = "客户编号不可为空")
    private String 	userId;*/
    /*@NotNull(message = "车辆编号不可为空")
    private String 	vehicleId;*/
    /*@NotNull(message = "卡启用时间不可为空")
    private String enableTime;*/
    /*@NotNull(message = "卡到期时间不可为空")
//    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private String expireTime;*/


    /*@NotNull(message = "开卡时间不可为空")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")*/
    /*private LocalDateTime issuedTime;*/
   // private Integer 	cardCostFare;

   //private Integer 	chargeFare;
    /*@NotNull(message = "开卡时充值金额不可为空")
   private double 	chargeFareYuan;*/
    //private Integer 	totalFare;

    /*@NotNull(message = "总缴费金额不可为空")
    private double 	totalFareYuan;*/

    /*@NotNull(message = "缴费渠道不可为空")
    private Integer 	fareChannel;*/

    //@NotNull(message = "操作员编码不可为空")
    //private String 	staffID;

    //省中心撤销 状态默认为发行失败 0：发行成功  1：发行失败
    //private String status = "1";

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOldId() {
        return oldId;
    }

    public void setOldId(String oldId) {
        this.oldId = oldId;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getAgencyId() {
        return agencyId;
    }

    public void setAgencyId(String agencyId) {
        this.agencyId = agencyId;
    }

    public Integer getCardType() {
        return cardType;
    }

    public void setCardType(Integer cardType) {
        this.cardType = cardType;
    }

    public Integer getBrand() {
        return brand;
    }

    public void setBrand(Integer brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Integer getIssuedType() {
        return issuedType;
    }

    public void setIssuedType(Integer issuedType) {
        this.issuedType = issuedType;
    }

    public double getCardCostFareYuan() {
        return cardCostFareYuan;
    }

    public void setCardCostFareYuan(double cardCostFareYuan) {
        this.cardCostFareYuan = cardCostFareYuan;
    }

    public String getContactPersonName() {
        return contactPersonName;
    }

    public void setContactPersonName(String contactPersonName) {
        this.contactPersonName = contactPersonName;
    }

    public String getContactTel() {
        return contactTel;
    }

    public void setContactTel(String contactTel) {
        this.contactTel = contactTel;
    }

    public String getContactAddr() {
        return contactAddr;
    }

    public void setContactAddr(String contactAddr) {
        this.contactAddr = contactAddr;
    }
}
